package org.zjx.analysis.analyze.tap;


import org.zjx.command.util.ImageUtil;
import org.zjx.window.window.IWindow;

import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Collections;

public class NECTabAnalysis extends BaseTabAnalysis {

    public NECTabAnalysis(IWindow window) {
        super("女儿村", window);
    }

    @Override
    public Rectangle getContentArea() {
        return ImageUtil.createRect(10, 80, 329, 439);
    }

    @Override
    protected void initResources() {

    }

    @Override
    public Rectangle closeArea() {
        return null;
    }

    @Override
    public Rectangle getOriginBounds() {
        return ImageUtil.createRect(192, 52, 606, 521);
    }

    @Override
    public Rectangle getRefImageArea() {
        return ImageUtil.createRect(186, 24, 227, 37);
    }

    @Override
    public BufferedImage getRefImage() {
        BufferedImage bufferedImage = ImageUtil.createImage("iVBORw0KGgoAAAANSUhEUgAAACoAAAAOCAYAAABZ/o57AAADk0lEQVR4XpVU+U8TURDef8xAQRCFSKndFkGxFIoaDZ7FK1GoJBIUyik9KNbScpczyqkgGCXRCqhVA0bjgRo0BpUEE38Yd2Z5zz2I0S/58ubame/NdiskmP2g5BaTH6buvYKd+WGy/8YEk4fbeUd6IFFs5n5LR0xfr5nVNxKHDFtIF2ccnVqUesq2oE3uLe4ChPVgu0q8liiSEX1EReM02caCCPkmR0Q3XEmEs3xYF0dm2lspby5qI1/ALSjZGp2jAuVDiWbPH18hUElEtf8u1ZiL1EN4n40Z6fuuSwxRzYWqW5CcHQCDBeMhzj2HOyhvO9ZDOaFr8DEF/gdt/XMqkXgRhNs/QzYTKhZFwGD2qRjsfKhsxfFsaUUb4njxcgUEx8koeEKzxHD0ESUmppfIbwrdJyJWv69z336se9ONaoXiqRWaJPpoW+cqRuVnfDOQkReEbTkByCvu5Dx0to/yR88PUU4wiB5gHBiNUzLJIm+JERHqiXHfYGrUkYZuIpTqFTMYhydfUM3rt1/Jzz/eCes/f0Gy1Uu+0R6kvLi/lXyBDU/NkX/cQ+PPVCLTcpspfvhMlItKyGrQEeH2TlFeK1TLJIuX8gxl7nG+kIGxONlMKOshsOGuKvlV1PjuqDYVaJuluFKgVizbqNM1SLbo2NiGdGo3jwxHY5RHLMQ/0Jlq9cClugmyt+/2QpatRdWDC0V2DshfPKK2eRq2ilfJvjWzqNugIauO8+CpbqrLsrdQzlx4jXw82UXSc310Gm0ByoW6H9BZ4hqCz1/WwFbcxi/cJenQC1UMRCbvqofwRhOGjFyPosbNmWCsofPJ82WqYzVi4cYQ6WQxREXduLRBuRbnIEpc/ar519pnoe/mgiRU/imyHjqhODgjtxE+rXyjQobeG3OQYqlXCUWevih/nVVNE1y4WMiG+Hkdoik4A+XuUdh/op2L1wpl3ESo3MjqaIZLtSPSjd9TAaLoRARSLXXQf3Oex4YnnkKatRYSM6/AkbPyn/Lyx1XyWa/0HPYKY+As64XKhjHyXVU3VJdElLh6uR/suA8NgSkw233gOB6mvMnmpZwwMLJAAQYcWlo5SIOVRHFjk/Lf18jtp1KDJrJ/rP2EFLNbV78Qf6dsK9ftUr8NhLM0yv2H829UzyBYTtiRLX0MzgiIBV7dsM2YZqmBJONlSNxZCaddPdzW1v0Lyy4PkXhtPNvhgwMnw5Bsquax32k0KHMg4ZfgAAAAAElFTkSuQmCC");
        return ImageUtil.makeColorsTransparent(bufferedImage, Collections.singletonList(Color.WHITE));
    }
}
